import { defineStore } from 'pinia';
import { store } from '@/store';
import { useMessage } from '@/hooks/web/useMessage';
import { notification } from 'ant-design-vue';
import { h } from 'vue';

export const useGloalReminder = defineStore({
  id: 'app-useGloalReminder',
  state: () => ({
    PersonnelStatistics: {},
  }),
  getters: {
    getLocale(state) {
      return state.PersonnelStatistics;
    },
  },
  actions: {
    setPersonStatic(data) {
      this.PersonnelStatistics = data;
    },
    /**
     * @description: Confirm before logging out
     */
  },
});

// Need to be used outside the setup
export function useGloalReminderWithOut() {
  return useGloalReminder(store);
}
